<div class="header-wrapper">
	<div class="header-top-strip" align="center">
    	<div class="header-top-data">
            <div class="header-strip-text">
                India's No. 1 Student Classifieds&nbsp;&nbsp;|&nbsp;&nbsp;100,000+ postings
            </div>
            <div class="header-strip-links">
                <a href="">Home</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="">Blog</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="">Help</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="">My Account</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<%if !session[:user]%><span style="cursor:pointer;" onclick="opensignin(<%=  url_for :controller => 'login', :action => 'signinpopup' %>);"><a href="">Sign In / Register</a></span><%else%><%=link_to "Log out",:controller=>"login",:action=>"logout" -%><%end-%>
            </div>
    	</div>
    </div>
    <div class="header-gradient">
      <div class="header-inner" align="center">
          <div class="header-left">
              <%=link_to (image_tag "logo.jpg",:border=>"0"),{:controller=>"main",:action=>"index"}-%>
              <!--<div class="main-header-links">
                  <a href="">Home</a>&nbsp;&nbsp;|&nbsp;&nbsp;<%#=link_to "Post Free Ad",:controller=>"advertisments",:action=>"post_free_ad",:step=>"1" -%>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="">Blog</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="">Help</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="">Feedback</a>
              </div>-->
          </div>
          <div class="header-right">
              <div class="header-right-1">
                Student Classifieds and YellowPages
              </div>
              <div class="header-right-2">
                  <!--<div class="header-university-icon">
                    <%#=image_tag "university.png",:width=>"17px" -%>
                   </div>-->
                        <%if params[:city] %>
                          <% form_tag url_for( :controller=> "listings" , :action=>"city")  do  %>
                  <%if params[:keyword]%>
                            <%=  select_tag "university", options_for_select(University.find(:all,:conditions=>"city_id="+City.find_by_stripped_name(params[:city]).id.to_s,:order=>"name").collect{|x| [x.name, x.name]}),:onchange=>"javascript:q=(document.location.href);void(open('/all-advertisments-of/city/"+@city.stripped_name.to_s+"/"+@category.stripped_name.to_s+"?search=True&keyword="+params[:keyword]+"&university='+this.value,'_self','resizable,location,menubar,toolbar,scrollbars,status'))" -%>
                  <%else%>
                                              <%=  select_tag "university", options_for_select(University.find(:all,:conditions=>"city_id="+City.find_by_stripped_name(params[:city]).id.to_s,:order=>"name").collect{|x| [x.name, x.name]}),:onchange=>"javascript:q=(document.location.href);void(open('/all-advertisments-of/city/"+@city.stripped_name.to_s+"/"+@category.stripped_name.to_s+"?search=True&university='+this.value,'_self','resizable,location,menubar,toolbar,scrollbars,status'))" -%>

                  <%end-%>
                         <%end -%>
                        <%end -%>
                  </div>
              </div>
              <div class="header-post-button">
                <%=link_to (image_tag "post-free-ad.png",:border=>"0"),{:controller=>"advertisments",:action=>"post_free_ad",:step=>1}-%>
              </div>
          </div>
          <div class="header-navigation" align="center">
            <ul>
                <li class="header-category-selected"><a href="">I am a Student</a></li>
                <li><a href="">I am Not a Student</a></li>
            </ul>
          </div>
      </div>
       <div class="header-secondary-nav">
        Welcome to SearchMyCampus. Please select one of the above user type.
      </div>
</div>
